package com.example.playedu.service;

import com.example.playedu.dto.UserDto;
import com.example.playedu.entity.User;
import org.springframework.data.domain.Page;

public interface UserService {
    void saveUser(UserDto userDto);

    User findUserByEmail(String email);

    void updatePassword(User user);

    Page<User> findAll(int pageNumber, int pageSize);
}
